#ifndef _QUEUE_H_
#define _QUEUE_H_

#include "list.h"

typedef struct {
    int len;
    list_node entries;
} queue_node;

struct entry {
    char * name;
    list_node node;
};

void queue_init(queue_node * queue);
void enqueue(queue_node * queue, struct entry * entry);
struct entry * dequeue(queue_node * queue);

#endif /* _QUEUE_H_ */
